$(document).ready(function() {
	$('form').each(function() {
		$('input[type="text"], input[type="password"], input[type="email"]').each(function(index) {
			var $txtTitle = $(this);
			var titleValue = $(this).attr('title');
			$(this).addClass('placeholderText');
			$txtTitle
			.focus(function() {
				if ($txtTitle.val() == titleValue) {
					$txtTitle.val('').removeClass('placeholderText');
				}
			})
			.blur(function() {
				if ($txtTitle.val() == '') {
					$txtTitle.val(titleValue).addClass('placeholderText');
				}
			})
			.val(titleValue);
		})
		$('form').submit(function() {
			$('input[type="text"],input[type="password"], input[type="email"]').each(function(index) {
				if($(this).val() == $(this).attr('title')) {
					$(this).val('');
				}
			})
		})
	})
});